/*
 * Copyright (c) 2018-2999 九五云信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 */

package com.yami.shop.user.comment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.param.UserTagParam;
import com.yami.shop.user.comment.model.UserTagUser;

import java.util.List;

/**
 * 用户和标签关联表
 *
 * @author LGH
 * @date 2020-09-10 08:44:22
 */
public interface UserTagUserService extends IService<UserTagUser> {


    UserTagUser getByUserIdAndTagId(String userId, Long tagId);

    Integer countByUserIdAndTagId(String userId, Long tagId);

    List<UserTagParam> getUserTagsUserByUserId(String userId);

    Boolean removeByUserIdAndTagId(String userId, Long userTagId);
}
